package com.lanou.service;

import com.lanou.bean.LayUiTable;
import com.lanou.bean.Permission;

import java.util.List;

public interface PermissionService {
    int delectPermission(Integer pid);
    List<Permission> selectPermisson(Permission permission);
    LayUiTable<Permission> queryBooksForLayUI(Permission condition, Integer pageSize, Integer currentPage);

    //public List<Permission> findAllById(Integer id);

    /*
    查询所有权限
     */
    List<Permission> findAllP();

    List<Permission> selectPermissons();

    int insertService(Permission permission);
}
